package com.autumn.zero.workflow.services;

import org.activiti.engine.delegate.DelegateExecution;
import org.activiti.engine.delegate.DelegateTask;

/**
 * 监听服务
 * 
 * @author 杨昌国 2019-01-24 14:19:05
 */
public interface IListenerService {

	/**
	 * executionListener 监听通知
	 * 
	 * @param execution 执行
	 */
	void executionListenerNotify(DelegateExecution execution);

	/**
	 * 任务临听通知
	 * 
	 * @param delegateTask 执行
	 */
	void taskListenerNotify(DelegateTask delegateTask);

}
